"""
@file: share.py
@author: yangsiting
@data: 2021/05/02
@desc:
"""
from .base import ma
from models.share import ShareInfo


class Share_info_Schema(ma.Schema):
    class Meta:
        model = ShareInfo
        fields = ('user_profile_id','share_message','share_img','create_time')



shareinfo_schema = Share_info_Schema()
shareinfos_schema = Share_info_Schema(many=True)